package net.ziyoushu.demo1.annotation;

import net.ziyoushu.demo1.context.RocketMqConsumerContext;
import net.ziyoushu.demo1.context.RocketMqProduceContext;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Import({RocketMqProduceContext.class, RocketMqConsumerContext.class})
public @interface EnableRocketMq {
}
